﻿namespace Microsoft.SharePoint.Client
{
    using System;
    using System.Net;

    public sealed class OpenBinaryFailedEventArgs : EventArgs
    {
        private string m_message;
        private HttpStatusCode m_status;

        internal OpenBinaryFailedEventArgs(HttpStatusCode status, string message)
        {
            this.m_status = status;
            this.m_message = message;
        }

        public string Message
        {
            get
            {
                return this.m_message;
            }
        }

        public HttpStatusCode Status
        {
            get
            {
                return this.m_status;
            }
        }
    }
}

